package com.qys.livesMall.shop.service;

import com.qys.livesMall.shop.modal.dto.shop.contract.EditContract;
import com.qys.livesMall.shop.modal.entity.H2ShopBase;
import com.qys.livesMall.shop.modal.entity.H2ShopContract;
import com.qys.livesMall.shop.modal.vo.ShopContractVO;


/**
 * <p>
 * 店铺合同 服务类
 * </p>
 *
 * @author wzy
 * @since 2023-04-27
 */
public interface H2ShopContractService  {

    /**
     * 建立店铺模板
     * @param shop
     * @return
     */
    String build(H2ShopBase shop);

    /**
     * 保存
     * @param contract
     */
    H2ShopContract saveOrUp(EditContract contract);

    /**
     * 获取合同
     * @param shopId
     * @return
     */
    ShopContractVO getByShopId(Long shopId);
}
